package org.brisling.duties.domain;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import org.brisling.base.domain.impl.BaseDomain;
import org.brisling.base.domain.inf.BaseDomainInf;
import org.brisling.common.ConstSysParam;
import org.springframework.format.annotation.DateTimeFormat;

import com.fasterxml.jackson.annotation.JsonFormat;


/**
 * 
 * 投诉实体类
 * @author : jackson wang
 * @Date   : 2015年10月8日 下午10:01:07
 * @version: 1.0
 * 
 */
@Entity
@Table(name=ConstSysParam.MODULE_DUTIES_COMPLAIN)
public class DutiesComplain extends BaseDomain implements BaseDomainInf {

	
	
	//投诉人
	@Column(length=50)
	private String complain_user;
	//投诉对象
	@Column(length=50)
	private String complain_target;
	
	//投诉内容
	@Column(length=500)
	private String complain_content;
	
	//处理结果
	@Column(length=500)
	private String process_result;

	/*
	 * 投诉时间
	 */
	@Column
	@DateTimeFormat(pattern = "yyyy-MM-dd")
	@JsonFormat(pattern="yyyy-MM-dd",timezone="GMT+8")
	protected Date complain_time;
	/**
	 * @return the complain_target
	 */
	public String getComplain_target() {
		return complain_target;
	}


	/**
	 * @param complain_target the complain_target to set
	 */
	public void setComplain_target(String complain_target) {
		this.complain_target = complain_target;
	}


	/**
	 * @return the complain_content
	 */
	public String getComplain_content() {
		return complain_content;
	}


	/**
	 * @param complain_content the complain_content to set
	 */
	public void setComplain_content(String complain_content) {
		this.complain_content = complain_content;
	}


	/**
	 * @return the process_result
	 */
	public String getProcess_result() {
		return process_result;
	}


	/**
	 * @param process_result the process_result to set
	 */
	public void setProcess_result(String process_result) {
		this.process_result = process_result;
	}


	/**
	 * @return the complain_user
	 */
	public String getComplain_user() {
		return complain_user;
	}


	/**
	 * @param complain_user the complain_user to set
	 */
	public void setComplain_user(String complain_user) {
		this.complain_user = complain_user;
	}


	/**
	 * @return the complain_time
	 */
	public Date getComplain_time() {
		return complain_time;
	}


	/**
	 * @param complain_time the complain_time to set
	 */
	public void setComplain_time(Date complain_time) {
		this.complain_time = complain_time;
	}


	
	
	
    
}
